package org.jeecg.modules.iot.mqtt.server.service.impl;

import org.jeecg.modules.iot.cache.EBikeCache;
import org.jeecg.modules.iot.mqtt.entity.MqttMessageJson;
import org.jeecg.modules.iot.mqtt.server.service.processor.carOperate.CarService;
import org.jeecg.modules.iot.service.IConsumptionService;
import org.jeecg.modules.iot.service.ILocationService;
import org.jeecg.modules.iot.service.IPowerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("0500")
public class Command_0500_Recv extends Command_0200   {

    @Autowired
    private CarService carService;

    public Command_0500_Recv(ILocationService locationService, EBikeCache eBikeCache, IPowerService powerService, IConsumptionService consumptionService) {
        super(locationService, eBikeCache, powerService, consumptionService);
    }

    @Override
    public void execute(MqttMessageJson mqttMessageJson) throws Exception {
        // 调用父类的 execute 方法
        super.execute(mqttMessageJson);

        // 添加额外的 notifyResponseReceived 操作
        String seq =  mqttMessageJson.getSeq();

    }
}
